package com.p2p.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ExperienceConfiguration {

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;
    private BigDecimal amount;
    private Integer validDays;
    private Integer emissionLimit;
    private Byte isEmission;
    private String name;
    private BigDecimal rate;
    private BigDecimal income;
    private Integer term;
    private String description;
    private Byte isDeleted;
    private Date createTime;
    private Date updateTime;
}
